package com.bo.util;

import javax.servlet.http.HttpServletRequest;

public class SessionUtil {
	
	public static Integer getCompanyId(HttpServletRequest request){
		
		Object obj=request.getSession().getAttribute("companyId");
		
		if(obj!=null){
			
			return (Integer)obj;
		}
		
		return -1;
	}

}
